package com.sx.pay.model;

import com.sx.basic.BasicEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author AdinZ
 * @date 2020/9/17 11:34
 */
@Data
public class RefundModel extends BasicEntity {
    /**
     * 退款单号
     */
    private String refundCode;
    /**
     * 支付单号
     */
    private String payCode;
    /**
     * 第三方平台支付单号
     */
    private String transCode;
    /**
     * 支付费用
     */
    private BigDecimal payFee;
    /**
     * 退款费用
     */
    private BigDecimal refundFee;
    public RefundModel(){}
    public RefundModel(String transCode, BigDecimal payFee, BigDecimal refundFee) {
        this.transCode = transCode;
        this.payFee = payFee;
        this.refundFee = refundFee;
    }
}
